package handin07;

public class Membership implements IMembership {
	
	private MembershipPlan plan;
	private double discount, baseCost;
	
	public Membership(MembershipPlan plan, double discount, double baseCost) {
		this.plan = plan;
		this.discount = discount;
		this.baseCost = baseCost;
	}

	@Override
	public MembershipPlan getMembershipPlan() {
		return plan;
	}

	@Override
	public double getDiscount() {
		return discount;
	}

	@Override
	public double getBaseCost() {
		return baseCost;
	}

}